﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;


namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LMLocationInventory", "LMLocationInventory", new string[] { "LOCATIONINVENTORYID" })]
    [KnownType(typeof(LocationInventoryInfo))]
    //货位库存信息
    public class LocationInventoryInfo : MB.Orm.Common.BaseModel
    {
        public LocationInventoryInfo()
        {
        
        }

        private int _LOCATIONINVENTORYID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONINVENTORYID", System.Data.DbType.Int32)]
        public int LOCATIONINVENTORYID
        {
            get { return _LOCATIONINVENTORYID; }
            set { _LOCATIONINVENTORYID = value; }
        }
        private string _GOODSBATCHCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSBATCHCODE", System.Data.DbType.String)]
        public string GOODSBATCHCODE
        {
            get { return _GOODSBATCHCODE; }
            set { _GOODSBATCHCODE = value; }
        }
        private int _LOCATIONID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONID", System.Data.DbType.Int32)]
        public int LOCATIONID
        {
            get { return _LOCATIONID; }
            set { _LOCATIONID = value; }
        }
        private string _LOCATIONCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONCODE", System.Data.DbType.String)]
        public string LOCATIONCODE
        {
            get { return _LOCATIONCODE; }
            set { _LOCATIONCODE = value; }
        }
        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }
        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }
        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }
        private int _WAREHOUSEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEID", System.Data.DbType.Int32)]
        public int WAREHOUSEID
        {
            get { return _WAREHOUSEID; }
            set { _WAREHOUSEID = value; }
        }
        private string _WAREHOUSECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSECODE", System.Data.DbType.String)]
        public string WAREHOUSECODE
        {
            get { return _WAREHOUSECODE; }
            set { _WAREHOUSECODE = value; }
        }
        private string _WAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSENAME", System.Data.DbType.String)]
        public string WAREHOUSENAME
        {
            get { return _WAREHOUSENAME; }
            set { _WAREHOUSENAME = value; }
        }
        private string _CELLNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CELLNO", System.Data.DbType.String)]
        public string CELLNO
        {
            get { return _CELLNO; }
            set { _CELLNO = value; }
        }
        private string _PRODUCTIONDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PRODUCTIONDATE", System.Data.DbType.String)]
        public string PRODUCTIONDATE
        {
            get { return _PRODUCTIONDATE; }
            set { _PRODUCTIONDATE = value; }
        }
        private string _STORAGEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("STORAGEDATE", System.Data.DbType.String)]
        public string STORAGEDATE
        {
            get { return _STORAGEDATE; }
            set { _STORAGEDATE = value; }
        }
        private int _EXPIRYDAYS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EXPIRYDAYS", System.Data.DbType.Int32)]
        public int EXPIRYDAYS
        {
            get { return _EXPIRYDAYS; }
            set { _EXPIRYDAYS = value; }
        } 
        private decimal _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Decimal)]
        public decimal QTY
        {
            get { return _QTY; }
            set { _QTY = value; }
        }
        private string _CREATER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATER", System.Data.DbType.String)]
        public string CREATER
        {
            get { return _CREATER; }
            set { _CREATER = value; }
        }
        private string _INVGOODSBATCHCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVGOODSBATCHCODE", System.Data.DbType.String)]
        public string INVGOODSBATCHCODE
        {
            get { return _INVGOODSBATCHCODE; }
            set { _INVGOODSBATCHCODE = value; }
        }
        private string _INVGOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVGOODSCODE", System.Data.DbType.String)]
        public string INVGOODSCODE
        {
            get { return _INVGOODSCODE; }
            set { _INVGOODSCODE = value; }
        }
        private string _INVGOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVGOODSNAME", System.Data.DbType.String)]
        public string INVGOODSNAME
        {
            get { return _INVGOODSNAME; }
            set { _INVGOODSNAME = value; }
        }
        private string _INVUNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVUNITNAME", System.Data.DbType.String)]
        public string INVUNITNAME
        {
            get { return _INVUNITNAME; }
            set { _INVUNITNAME = value; }
        }
        private string _INVSTATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVSTATUS", System.Data.DbType.String)]
        public string INVSTATUS
        {
            get { return _INVSTATUS; }
            set { _INVSTATUS = value; }
        }
    }
}
